package com.opennice.soukaoti.vo;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

/**
 * Category entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class Category implements java.io.Serializable {

	// Fields

	private Integer CId;
	private MajorCatergroy majorCatergroy;
	private Integer CParent;
	private String CName;
	private Integer CState;
	private Date CUpdateTime;
	private Integer CAddMember;
	private Integer CAddKind;
	private Integer memberId;
	private Set PTitles = new HashSet(0);

	// Constructors

	/** default constructor */
	public Category() {
	}

	/** minimal constructor */
	public Category(Integer CId, Integer CParent, String CName, Integer CState,
			Date CUpdateTime, Integer CAddMember, Integer CAddKind) {
		this.CId = CId;
		this.CParent = CParent;
		this.CName = CName;
		this.CState = CState;
		this.CUpdateTime = CUpdateTime;
		this.CAddMember = CAddMember;
		this.CAddKind = CAddKind;
	}

	/** full constructor */
	public Category(Integer CId, MajorCatergroy majorCatergroy,
			Integer CParent, String CName, Integer CState, Date CUpdateTime,
			Integer CAddMember, Integer CAddKind, Integer memberId, Set PTitles) {
		this.CId = CId;
		this.majorCatergroy = majorCatergroy;
		this.CParent = CParent;
		this.CName = CName;
		this.CState = CState;
		this.CUpdateTime = CUpdateTime;
		this.CAddMember = CAddMember;
		this.CAddKind = CAddKind;
		this.memberId = memberId;
		this.PTitles = PTitles;
	}

	// Property accessors

	public Integer getCId() {
		return this.CId;
	}

	public void setCId(Integer CId) {
		this.CId = CId;
	}

	public MajorCatergroy getMajorCatergroy() {
		return this.majorCatergroy;
	}

	public void setMajorCatergroy(MajorCatergroy majorCatergroy) {
		this.majorCatergroy = majorCatergroy;
	}

	public Integer getCParent() {
		return this.CParent;
	}

	public void setCParent(Integer CParent) {
		this.CParent = CParent;
	}

	public String getCName() {
		return this.CName;
	}

	public void setCName(String CName) {
		this.CName = CName;
	}

	public Integer getCState() {
		return this.CState;
	}

	public void setCState(Integer CState) {
		this.CState = CState;
	}

	public Date getCUpdateTime() {
		return this.CUpdateTime;
	}

	public void setCUpdateTime(Date CUpdateTime) {
		this.CUpdateTime = CUpdateTime;
	}

	public Integer getCAddMember() {
		return this.CAddMember;
	}

	public void setCAddMember(Integer CAddMember) {
		this.CAddMember = CAddMember;
	}

	public Integer getCAddKind() {
		return this.CAddKind;
	}

	public void setCAddKind(Integer CAddKind) {
		this.CAddKind = CAddKind;
	}

	public Integer getMemberId() {
		return this.memberId;
	}

	public void setMemberId(Integer memberId) {
		this.memberId = memberId;
	}

	public Set getPTitles() {
		return this.PTitles;
	}

	public void setPTitles(Set PTitles) {
		this.PTitles = PTitles;
	}

}